home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / banner / banndoc.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.5 KB  |  72 lines

  1. // BannerDoc.cpp : implementation of the CBannerDoc class
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "Banner.h"
  6.  
  7. #include "BannDoc.h"
  8.  
  9. #ifdef _DEBUG
  10. #define new DEBUG_NEW
  11. #undef THIS_FILE
  12. static char THIS_FILE[] = __FILE__;
  13. #endif
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CBannerDoc
  17.  
  18. IMPLEMENT_DYNCREATE(CBannerDoc, CDocument)
  19.  
  20. BEGIN_MESSAGE_MAP(CBannerDoc, CDocument)
  21.     //{{AFX_MSG_MAP(CBannerDoc)
  22.         // NOTE - the ClassWizard will add and remove mapping macros here.
  23.         //    DO NOT EDIT what you see in these blocks of generated code!
  24.     //}}AFX_MSG_MAP
  25. END_MESSAGE_MAP()
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CBannerDoc construction/destruction
  29.  
  30. CBannerDoc::CBannerDoc()
  31. {
  32. }
  33.  
  34. CBannerDoc::~CBannerDoc()
  35. {
  36. }
  37.  
  38. BOOL CBannerDoc::OnNewDocument()
  39. {
  40.     if (!CDocument::OnNewDocument())
  41.         return FALSE;
  42.  
  43.     return TRUE;
  44. }
  45.  
  46.  
  47.  
  48. /////////////////////////////////////////////////////////////////////////////
  49. // CBannerDoc serialization
  50.  
  51. void CBannerDoc::Serialize(CArchive& ar)
  52. {
  53. }
  54.  
  55. /////////////////////////////////////////////////////////////////////////////
  56. // CBannerDoc diagnostics
  57.  
  58. #ifdef _DEBUG
  59. void CBannerDoc::AssertValid() const
  60. {
  61.     CDocument::AssertValid();
  62. }
  63.  
  64. void CBannerDoc::Dump(CDumpContext& dc) const
  65. {
  66.     CDocument::Dump(dc);
  67. }
  68. #endif //_DEBUG
  69.  
  70. /////////////////////////////////////////////////////////////////////////////
  71. // CBannerDoc commands
  72.